﻿
@{
    ViewBag.Title = "Delete";
}

<br />

<form id="form">
    <input class="btn btn-danger" type="submit" value="Delete" data-redirect-url="/Admin/Roles/Index" />
    <input class="btn btn-info" type="button" value="Return" onclick="javascript:history.go(-1)" />

    <div data-plugin="backendErrorRenderer" class="col-sm-offset-1 text-danger">
    </div>
</form>

<hr />

@Html.Partial("_Details")


@section scripts
{
    <script>
        $(document).ready(function () {
            $.getJSON('/Data?name=role', {}, function (data, textStatus, jqXHR) {
                $('#details').renderer(data);
            });

            $('#form').deleteForm();
        });
    </script>
}


